package demo1;


public class 字符类型 {
    public static void main(String[] args) {
        char ch = 'a';
        char ch2 = 97;
        char ch3 = '9';
        char ch4 = '狗';
        System.out.println(ch);//a
        System.out.println(ch2);//a
        System.out.println(ch3);//9[不能是'97'因为char表示一个字符
        System.out.println(ch4);//狗

    }


}
